<div id="products-wrap">
  <div id="products">
    <% @products.each do |product| %>
            <div class="product">
              <h2><%= product.name %></h2>

              <div class="image_prd"><%= image_tag(product.image_url) %></div>
              <div class="ht">
                <div><span class="new-price"><%= product.orginal_price %></span><span class="price-unit">đ</span></div>
                <div><span class="old-price">50</span><span class="price-unit">đ</span></div>
                <a href="/product/show?pro_id=<%= product.id %>" class="hyperlink-detail">Chi Tiết</a>
                <a href="/cart/add?product_id=<%= product.id %>" class="hyperlink-detail">Đặt Hàng</a>
              </div>
            </div>
    <% end %>
  </div>
</div>

